/**
 * <p>Title: Data Capture System</p>
 * <p>Description: 外汇交易系统数据捕获接收系统</p>
 * <p>Copyright: Copyright (c) 2005 Intenation Geong</p>
 * <p>Company: Geong</p>
 */
package com.sxds.wn.model;

import java.util.List;

/**
 * Description: <p>JSON树对象模型</p>
 * Content Desc:<p><p>
 * Copy Right of Sxdx-Wn
 * @author Andy
 * @version 1.0 Create Date:@2010-4-22
 */
public class TreeNode extends BaseObject {

	private static final long serialVersionUID = 6293920L;
	private String text;
	private String id;
	private boolean leaf;
	private String link;
	private List children;
	
	/**
	 * 默认构造方法
	 */
	public TreeNode() {
		
	}
	
	/**
	 * 默认构造方法
	 */
	public TreeNode(String text,String id,boolean leaf,String link) {
		this.text = text;
		this.id = id;
		this.leaf = leaf;
		this.link = link;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the leaf
	 */
	public boolean isLeaf() {
		return leaf;
	}

	/**
	 * @param leaf the leaf to set
	 */
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	
	/**
	 * @return the link
	 */
	public String getLink() {
		return link;
	}

	/**
	 * @param link the link to set
	 */
	public void setLink(String link) {
		this.link = link;
	}

	/**
	 * @return the children
	 */
	public List getChildren() {
		return children;
	}

	/**
	 * @param children the children to set
	 */
	public void setChildren(List children) {
		this.children = children;
	}

}
